﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.Admin.Dto
{
    public class GetCompanyLevelTreeOutPut
    {
        public Guid id { get; set; }
        public string principal { get; set; }
        public int businessId { get; set; }
        public int rdCenterId { get; set; }
        public int laboratoryId { get; set; }
        public string parentId { get; set; }
        public string text { get; set; }
        public bool leaf { get; set; }
        public CompanyType companyType { get; set; }

        public List<GetCompanyLevelTreeOutPut> children { get; set; }
    }
    public enum CompanyType
    {
        事业部 = 1,
        研发中心 = 2,
        研究室 = 3
    }
}
